package chineseAnalyzerTest;


import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import java.io.File;

public class TestDictFilesExist {

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testDicExist() {
		File file1 = new java.io.File("data" + File.separator + "coreDict.dct");
		File file2 = new java.io.File("data" + File.separator + "bigramDict.dct");
		File file3 = new java.io.File("data" + File.separator + "nr.dct");
		File file4 = new java.io.File("data" + File.separator + "ns.dct");
		File file5 = new java.io.File("data" + File.separator + "tr.dct");

		assertTrue(file1.exists());
		assertTrue(file2.exists());
		assertTrue(file3.exists());
		assertTrue(file4.exists());
		assertTrue(file5.exists());
	}
}
